#ifndef CAABB_H
#define CAABB_H

#include "Vector3D.h"

struct AABB
{
	//Controls the center of the object
	Vector3D center;
	
	//Controls the extended width of the
	//object when a test is performed
	Vector3D radius;
};

class cOverlapTest
{
	public:
		//Constructor: which will be used to initialize
		//the data members of the class
		cOverlapTest();

		//Test for two objects being close to each other
		float distanceTo(Vector3D point1, Vector3D point2);

		//Test for two objects being close to each other
		float distanceToSquared(Vector3D point1, Vector3D point2);

		//Test to see if the two objects are overlapping
		//each other
		bool AABBToAABB(AABB a, AABB b);

	private:
		//Holds the bounding boxes for two
		//object which will be tested for
		//intersections
		//AABB bound1;
		//AABB bound2;

		//Holds the information pertaining to
		//the distance two objects are from
		//one another
		float distance;
};
#endif